package com.jd.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties(prefix = "a")
@PropertySource("classpath:resource.properties")
public class ResourceConfig {

    public ResourceConfig(){}

    private String zookeeperServer;
    private String bgmServer;
    //上传文件路径
    private String fileSpace;
    //ffmpeg工具路径
    private String ffmpegPath;

    public String getZookeeperServer() {
        return zookeeperServer;
    }
    public void setZookeeperServer(String zookeeperServer) {
        this.zookeeperServer = zookeeperServer;
    }
    public String getBgmServer() {
        return bgmServer;
    }
    public void setBgmServer(String bgmServer) {
        this.bgmServer = bgmServer;
    }


    public void setFileSpace(String fileSpace) {
        this.fileSpace = fileSpace;
    }

    public String getFileSpace() {
        return fileSpace;
    }


    public String getFfmpegPath() {
        return ffmpegPath;
    }

    public void setFfmpegPath(String ffmpegPath) {
        this.ffmpegPath = ffmpegPath;
    }
}